Edit Resource: StateModes
Format
SCHED / EditResource '<ResourceName>' StateModes <# Modes> '<Mode Names>'
Description
The StateModes attribute under EditResource is the modification for a 3rd type of capacity, StateModes. This attribute sets the capacity type to state modes and then defines the discrete state modes.
Parameters
Parameter | Description |
---|---|
# Modes | An integer value >=0 that represents the total number of state modes. |
Mode Names | A string of text of the names of the state nodes, delimited by commas, in single quotes. Empty String is allowed if there are zero defined modes. (ex. 'Green,Yellow,Red'). |
Examples
The capacity type of Ops Team is changed to State Modes and 2 state modes are created: Blue and Red.
SCHED / EditResource 'OpsTeam' StateModes 2 'Blue,Red'
The capacity type of SSR is changed to State Modes and 4 state modes are created: On/Idle, Recording, Reading, and Off.
SCHED / EditResource 'SSR' StateModes 4 'On/Idle,Off,Recording,Reading'